package com.bnlr.lrparking.model;

import com.bigkoo.pickerview.model.IPickerViewData;

import java.util.List;

/**
 * @author : tian
 *         time   : 2018/03/29
 *         desc   : 投建实体
 */

public class CarportBuildIdentityBean {

    /**
     * statusCode : 0
     * message : 请求成功
     * model : [{"value":1,"txt":"投资方"},{"value":2,"txt":"车库厂方"},{"value":3,"txt":"资源方"}]
     */

    private int statusCode;
    private String message;
    private List<ModelBean> model;

    public int getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(int statusCode) {
        this.statusCode = statusCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<ModelBean> getModel() {
        return model;
    }

    public void setModel(List<ModelBean> model) {
        this.model = model;
    }

    public static class ModelBean implements IPickerViewData{
        /**
         * value : 1
         * txt : 投资方
         */

        private int value;
        private String txt;

        public int getValue() {
            return value;
        }

        public void setValue(int value) {
            this.value = value;
        }

        public String getTxt() {
            return txt;
        }

        public void setTxt(String txt) {
            this.txt = txt;
        }

        @Override
        public String getPickerViewText() {
            return this.txt;
        }
    }
}
